package com.yu.gulimall.member.dao;

import com.yu.gulimall.member.entity.MemberLevelEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * 会员等级
 *
 * @author yfy
 * @email HeJieLin@gulimall.com
 * @date 2024-06-16 21:31:44
 */
@Mapper
public interface MemberLevelDao extends BaseMapper<MemberLevelEntity> {

    @Select("select * from ums_member_level where default_status=0")
    MemberLevelEntity getDefaultLevel();

}
